package com.biu.billiards.model.vo.shop.orderAdmin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("修改订单传入VO类")
public class UpdateOrderAdminVO implements Serializable {

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 手机号
     */
    private String phone;


    /**
     * 商品ID
     */
    private Integer goodsId;

    /**
     * 支付方式
     */
    private String playWay;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 优惠卷昵称
     */
    private String couponName;

    /**
     * 优惠券价格
     */
    private BigDecimal couponPrice;

    /**
     * 实付金额
     */
    private BigDecimal actualPrice;

    /**
     * 开始时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

    /**
     * 原价
     */
    private BigDecimal goodsPrice;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 用户余额
     */
    private BigDecimal userBalance;

    private Integer deviceNumber;
    /**
     * 充值金额
     */
    private BigDecimal payPrice;

    private Integer billiardsNumber;

    private Integer billiardsId;

    private Integer billiardsHour;

    /**
     * 门店id
     */
    private Integer shopId;

    /**
     * 订单类型
     */
    private Integer orderType;


    /**
     * 商家分得金额
     */
    private BigDecimal shopActualSum;


    /**
     * 推荐人分得金额
     */
    private BigDecimal recommendActualSum;


    /**
     * 推荐人分得金额
     */
    private Integer recommendId;


    private String hardwareId;

    /**
     * 平台实际收益
     */
    private BigDecimal platformActualSum;

    private Integer feeType;
}
